package com.example.app.components.MyButton

import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.width
import androidx.compose.material3.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import com.example.app.components.MyText.MyText
import com.example.app.ui.theme.buttonMediumHeight
import com.example.app.ui.theme.buttonMediumWidth

@Composable
fun MyOutlinedMediumButton(onClick: () -> Unit,
    text: String = "",
    color: Color = MaterialTheme.colorScheme.outline) {
    MyOutlinedButton(
        modifier = Modifier
            .height(buttonMediumHeight)
            .width(buttonMediumWidth),
        contentPadding = PaddingValues(0.dp),
        onClick = onClick,
    ) {
        MyText(text = text,
            style = MaterialTheme.typography.bodyMedium.copy(
                color = color))
    }
}